<?php
namespace app\index\controller;
use think\Db;

class Notice extends Base
{
    public function index()
    {
        $data = Model('Notice')->limit_all_msg('1','10');
        $this->assign([
            'notice_list' => $data
        ]);
        return $this->fetch();
    }
}
